const defaultWidth = 100
export const tableDefaultHeaders = [
  {
    name: '申请编号',
    key: 'applyId',
    wid: defaultWidth
  },
  {
    name: '集团编号',
    key: 'corporationCode',
    wid: defaultWidth
  },
  {
    name: '集团名称',
    key: 'corporationName',
    wid: defaultWidth
  },
  {
    name: '账号',
    key: 'userId',
    wid: defaultWidth
  }
]
export const tableHeader1 = [
  {
    name: '审批状态',
    key: 'workflowStatusDescr',
    wid: defaultWidth
  },
  ...tableDefaultHeaders,
  {
    name: '操作',
    wid: 120,
    fixed: 'right',
    showTooltip: false,
    slotName: 'operate'
  }
]
export const tableHeader2 = [
  {
    name: '审批状态',
    key: 'workflowStatusDescr',
    wid: defaultWidth
  },
  {
    name: '审批结果',
    key: 'approveResultDescr',
    wid: defaultWidth
  },
  ...tableDefaultHeaders,
  {
    name: '审批人',
    key: 'approveByDescr',
    wid: defaultWidth
  },
  {
    name: '审批时间',
    key: 'approveTime',
    wid: 170
  },
  {
    name: '审批意见',
    key: 'approveComments',
    wid: 120
  }
]
export const searchItem = [
  {
    name: '集团名称',
    key: 'corporationName'
  },
  {
    name: '账号',
    key: 'userId'
  }
]
